3.2.33 \(\int \sqrt {b x^n} \, dx\) [133]

Optimal. Leaf size=17 \[ \frac {2 x \sqrt {b x^n}}{2+n} \]

[Out]

2*x*(b*x^n)^(1/2)/(2+n)

________________________________________________________________________________________

Rubi [A]
time = 0.00, antiderivative size = 17, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, integrand size = 9, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.222, Rules used = {15, 30} \begin {gather*} \frac {2 x \sqrt {b x^n}}{n+2} \end {gather*}

Antiderivative was successfully verified.

[In]

Int[Sqrt[b*x^n],x]

[Out]

(2*x*Sqrt[b*x^n])/(2 + n)

Rule 15

Int[(u_.)*((a_.)*(x_)^(n_))^(m_), x_Symbol] :> Dist[a^IntPart[m]*((a*x^n)^FracPart[m]/x^(n*FracPart[m])), Int[
u*x^(m*n), x], x] /; FreeQ[{a, m, n}, x] &&  !IntegerQ[m]

Rule 30

Int[(x_)^(m_.), x_Symbol] :> Simp[x^(m + 1)/(m + 1), x] /; FreeQ[m, x] && NeQ[m, -1]

Rubi steps

\begin {align*} \int \sqrt {b x^n} \, dx &=\left (x^{-n/2} \sqrt {b x^n}\right ) \int x^{n/2} \, dx\\ &=\frac {2 x \sqrt {b x^n}}{2+n}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]
time = 0.00, size = 17, normalized size = 1.00 \begin {gather*} \frac {2 x \sqrt {b x^n}}{2+n} \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[Sqrt[b*x^n],x]

[Out]

(2*x*Sqrt[b*x^n])/(2 + n)

________________________________________________________________________________________

Maple [A]
time = 0.01, size = 16, normalized size = 0.94

method result size
gosper \(\frac {2 x \sqrt {b \,x^{n}}}{2+n}\) \(16\)
risch \(\frac {2 b x \,x^{n}}{\left (2+n \right ) \sqrt {b \,x^{n}}}\) \(20\)

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((b*x^n)^(1/2),x,method=_RETURNVERBOSE)

[Out]

2*x*(b*x^n)^(1/2)/(2+n)

________________________________________________________________________________________

Maxima [A]
time = 0.30, size = 15, normalized size = 0.88 \begin {gather*} \frac {2 \, \sqrt {b x^{n}} x}{n + 2} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((b*x^n)^(1/2),x, algorithm="maxima")

[Out]

2*sqrt(b*x^n)*x/(n + 2)

________________________________________________________________________________________

Fricas [F(-2)]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: TypeError} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((b*x^n)^(1/2),x, algorithm="fricas")

[Out]

Exception raised: TypeError >>  Error detected within library code:   integrate: implementation incomplete (ha
s polynomial part)

________________________________________________________________________________________

Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \begin {cases} \frac {2 x \sqrt {b x^{n}}}{n + 2} & \text {for}\: n \neq -2 \\\int \sqrt {\frac {b}{x^{2}}}\, dx & \text {otherwise} \end {cases} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((b*x**n)**(1/2),x)

[Out]

Piecewise((2*x*sqrt(b*x**n)/(n + 2), Ne(n, -2)), (Integral(sqrt(b/x**2), x), True))

________________________________________________________________________________________

Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((b*x^n)^(1/2),x, algorithm="giac")

[Out]

integrate(sqrt(b*x^n), x)

________________________________________________________________________________________

Mupad [B]
time = 1.48, size = 15, normalized size = 0.88 \begin {gather*} \frac {2\,x\,\sqrt {b\,x^n}}{n+2} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((b*x^n)^(1/2),x)

[Out]

(2*x*(b*x^n)^(1/2))/(n + 2)

________________________________________________________________________________________